#include <iostream>//Account.cpp
#include "Account.h"

using namespace std;

Account::Account(int a=0,double b=0,double c=0)
{
    id=a;
    balance=b;
    annualInsterestRate=c;
}

double Account::getMonthlyInterestRate()
{
    return annualInsterestRate/12;
}

void Account::withDraw(double out)
{
    balance-=out;
}

void Account::deposit(double in)
{
    balance+=in;
}

double Account::Balance()
{
    return balance;
}
